<?php
	error_reporting(0);
	header('Content-Type:text/html;charset=utf-8');
	// 获取当前系统所在的根目录
	define('ROOT_PATH', str_replace('/common/init.php', '', str_replace('\\', '/', __FILE__))); 
	include_once ROOT_PATH."/config.php";
	include_once ROOT_PATH."/common/func_db.php";
	include_once ROOT_PATH."/common/function.php";
	include_once ROOT_PATH."/common/PageWeb.php";
	// 连接数据库
	db_connection();
	session_start();
?>